<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<style type="text/css">
			* {
				margin: 0;
				padding: 0;
			}
			
			html {
				font-size: 62.5%;
			}
			li{
				list-style: none;
			}
			#all {
				min-width: 28rem;
				max-width: 100rem;
				margin: 0 auto;
			}
			
			.head {
				color: white;
				min-height: 5rem;
				background-color: #e6071b;
				margin: 0 auto;
				position: relative;
			}
			.head li{
				float: left;
				line-height: 5rem;
				font-size: 1.6rem;
			}
			.head li:nth-of-type(1){
				padding-left: 2px;}
			.head li:nth-of-type(2){
				position: absolute;
				top: 0;
				width: 100%;
				margin: 0 auto;
				text-align: center;
				
			}
			.body{
				color: #A9A9A9;
				padding: 1rem 0;
				background-color: #DCDCDC;
			}
			.body li{
				font-size: 1.5rem;
				background-color: white;
				height: 10rem;
				border: 1px solid #A9A9A9;
				margin: 1rem auto;
			}
			.top{
				height: 5rem;
				padding: 1rem 0;
				border-bottom: 1px solid #DCDCDC;
			}
			.bottom{
				height: 3rem;
				clear: both;
				line-height: 3rem;
			}
			.top img{
				width: 5rem;
				height: 5rem;
				border-radius: 50%;
			}
			.top>div{
				float: left;
				margin-right: 2rem;
			}
			.center{
				min-width: 8rem;
				padding: 1rem 0;
			}
			.top .right{
				height: 5rem;
				width: 5rem;
				min-width: 5rem;
				position: relative;
				top: 0;
				float: right;
			}
			.button{
				text-align: center;
				position: absolute;
				margin: auto;
				top: 0;bottom: 0;left: 0;right: 0;
				height: 3rem;
				width: 5rem;
				background-color: #E6071B;
				color: white;
				line-height: 3rem;
				border-radius: 5px;
			}
			.old{
				transform: rotateZ(-30deg);
				background-color: #A9A9A9;
			}
		</style>
	</head>

	<body>
		<div id="all">
			<div class="head">
				<ul>
					<li>＜</li>
					<li>代金券</li>
				</ul>
			</div>
			<div class="body">
				<ul>
					<li>
						<div class="top">
							<div class="left">
								<img src="../img/pin1.jpg" />
							</div>
							<div class="center">
								<p>西贝莜面村代金券</p>
								<div>有效期：<span>2017-03-14</span></div>
							</div>
							<div class="right">
								<div class="button">
									待使用
								</div>
							</div>
						</div>
						<div class="bottom">
							<p>劵号：<span>5436 4245 72</span></p>
						</div>
					</li>
					<li>
						<div class="top">
							<div class="left">
								<img src="../img/pin3.jpg" />
							</div>
							<div class="center">
								<p>海底捞火锅代金券</p>
								<div>有效期：<span>2017-03-14</span></div>
							</div>
							<div class="right">
								<div class="button old">
									已使用
								</div>
							</div>
						</div>
						<div class="bottom">
							<div>劵号：<span>5462 5674 88</span></div>
						</div>
					</li>
				</ul>
			</div>
		</div>
		<script src="../js/jquery-1.11.0.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function() {
				window.onresize = function() {
					var wid = $(window).width();
					var hei = wid / 375 * 10;
					$("html").css("font-size", parseInt(hei, 10) + "px");
				}
			})
		</script>
	</body>

</html>